home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / realm221.zip / DINSTALL.EXE / lha / RLMDELET.BAT < prev   
DOS Batch File  |  1989-12-17  |  3KB  |  104 lines

  1. echo off
  2. cls
  3. echo Land Of The Realm De-Installation Utility
  4. echo .
  5. echo This batch file will completely remove
  6. echo The Land Of The Realm Adventure System
  7. echo from your computer.  All files will be
  8. echo deleted, and associated subdirectories
  9. echo will be removed.   The purpose of this
  10. echo utility is to  facilitate  a  complete
  11. echo re-installation  of  The Realm  from a
  12. echo a stock distribution archive or disk.
  13. echo .
  14. echo DO NOT run this utility if you wish to
  15. echo install  an  upgrade or  update to the
  16. echo game. ONLY if  you  wish to COMPLETELY
  17. echo remove the game from your system.
  18. echo .
  19. pause
  20. cls
  21. input "Do you wish to continue with the De-Installation? ", y,n
  22. if errorlevel 2 goto EXIT
  23. echo .
  24. input "Are you sure you wish to remove The Realm?? ", y,n
  25. if errorlevel 2 goto EXIT
  26. echo .
  27. cls
  28. echo Beginning De-Install of The Realm.
  29. pause
  30. echo Do not abort...
  31. echo .
  32. echo .
  33. echo If you wish to save your data files, in order
  34. echo to continue the current game after you reinstall
  35. echo The Realm, you may do so by answering 'y' to the
  36. echo following question. If you do not wish to save
  37. echo your data files, answer 'n'. In order to archive
  38. echo your data files, you MUST have one of the
  39. echo following compression utilities in your current
  40. echo path, or in this directory: PKARC, PKZIP, or LHARC.
  41. echo If you do not, and you wish to save your data files,
  42. echo abort now with a CTRL-C.
  43. echo .
  44. input "Save data files for continuation of current game? ", y,n
  45. if errorlevel 2 goto FINISH
  46. cls
  47. echo Please Select Archiving Method
  48. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  49. echo PKARC  ..............  1
  50. echo PKZIP  ..............  2
  51. echo LHARC  ..............  3
  52. echo .
  53. echo (Your selection of an archive MUST be either in
  54. echo the current path or in this directory.)
  55. echo .
  56. input "Which method do you wish to use? ", 1,2,3
  57. if errorlevel 3 goto LHARC
  58. if errorlevel 2 goto PKZIP
  59. if errorlevel 1 goto PKARC
  60. :PKARC
  61. cls
  62. echo Archiving data files...
  63. pkarc -a realmdat realmdir\*.dat
  64. goto FINISH
  65. :PKZIP
  66. cls
  67. echo Archiving data files...
  68. pkzip -a realmdat realmdir\*.dat
  69. goto FINISH
  70. :LHARC
  71. cls
  72. echo Archiving data files...
  73. lharc a realmdat realmdir\*.dat
  74. :FINISH
  75. pause
  76. del realmdir\docs\*.doc
  77. del realmdir\docs\*.map
  78. del realmdir\docs\*.rlm
  79. del realmdir\docs\readme
  80. rd realmdir\docs
  81. cls
  82. del realmdir\*.dat
  83. del realmdir\*.txt
  84. del realmdir\*.rlm
  85. del realmdir\*.com
  86. del realmdir\*.bac
  87. rd realmdir
  88. del realm.com
  89. del realm.0*
  90. del filemant.bat
  91. del rlmaint.com
  92. del rlminst.bat
  93. del input.exe
  94. cls
  95. echo ............................................
  96. echo De-Installation Complete.
  97. echo The Realm has been removed from your system.
  98. echo ............................................
  99. goto END
  100. :EXIT
  101. cls
  102. echo Operation Terminated.
  103. :END
  104.